package com.slmxz.tms.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.slmxz.tms.common.model.Option;
import com.slmxz.tms.system.model.entity.Company;
import com.slmxz.tms.system.model.vo.CompanyVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 公司管理Mapper接口
 * @author sunyao
 * @Date 2024-11-07
 */
public interface CompanyMapper extends BaseMapper<Company> {

    /**
     * 获取公司管理分页数据
     * @param page 分页对象
     * @return
     */
    List<CompanyVO> selectCompanyPage(IPage<CompanyVO> page, @Param("company")CompanyVO company);

    List<Option<String>> selectOption(@Param("company") CompanyVO company);

}
